<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <title>用户列表</title>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="/recipe/Public/mstp_48_realm/assets/ico/favicon.html">
    <link href="/recipe/Public/mstp_48_realm/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/recipe/Public/mstp_48_realm/assets/css/theme.css" rel="stylesheet">
    <link href="/recipe/Public/mstp_48_realm/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/recipe/Public/mstp_48_realm/assets/css/alertify.css" rel="stylesheet">

    <link rel="Favicon Icon" href="favicon.ico">

</head>
<body>
<div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo"> 
            <img src="/recipe/Public/mstp_48_realm/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
              <li><a id="messages" data-notification="2" href="#"><i class="icon-envelope"></i> Messages</a></li>
              <li><a id="notifications" data-notification="3" href="#"><i class="icon-globe"></i> Notifications</a></li>
            </ul>
            <ul class="pull-right">  
              <li><a href="<?php echo U('Index/logout');?>"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">
     
      <!-- Side menu -->
      <div class="sidebar-nav nav-collapse collapse">
        <div class="user_side clearfix">
          <img src="/recipe/Public/mstp_48_realm/assets/img/odinn.jpg" alt="Odinn god of Thunder">
          <h5>Odinn</h5>
          <a href="#"><i class="icon-cog"></i> Settings</a>        
        </div>
        <div class="accordion" id="accordion2">
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle active b_F79999" href="/recipe/Admin/Index/count.html"><i class="icon-dashboard"></i> <span>数据统计与分析</span></a>
            </div>
          </div>





          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse1"><i class="icon-user"></i> <span>用户信息</span></a>
            </div>
            <div id="collapse1" class="accordion-body collapse">
              <div class="accordion-inner">

                <a class="accordion-toggle" href="/recipe/Admin/User/userlist.html"><i class="icon-table"></i> 用户列表</a>
              </div>
            </div>
          </div>






          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>菜谱信息</span></a>
            </div>
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="/recipe/Admin/Food/FoodList.html"><i class="icon-rss"></i> 菜谱信息管理</a>
          
              </div>
            </div>
          </div>




          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion3" href="#collapse3"><i class="icon-user"></i> <span>菜系信息</span></a>
            </div>
            <div id="collapse3" class="accordion-body collapse">
              <div class="accordion-inner">

                <a class="accordion-toggle" href="/recipe/Admin/Type/TypeList.html"><i class="icon-table"></i>菜系信息列表</a>
              </div>
            </div>
          </div>









 <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion3" href="#collapse4"><i class="icon-user"></i> <span>评论信息</span></a>
            </div>
            <div id="collapse4" class="accordion-body collapse">
              <div class="accordion-inner">

                <a class="accordion-toggle" href="/recipe/Admin/Comments/CommentsList.html"><i class="icon-table"></i>评论信息列表</a>
              </div>
            </div>
          </div>











          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F5C294" href="users.html"><i class="icon-user"></i> <span>用户管理</span></a>
            </div>
          </div>      
        </div>
      </div>



       <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/recipe/Public/mstp_48_realm/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/recipe/Public/mstp_48_realm/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/recipe/Public/mstp_48_realm/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/recipe/Public/mstp_48_realm/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/realm.js"></script>
    <script type="text/javascript" src="/recipe/Public/mstp_48_realm/assets/js/jquery.slimscroll.min.js"></script>
</body>
</html> 



  <!-- Main window -->
    <div class="main_container" id="tables_page">
      <div class="row-fluid">

        <h2 class="heading">
          用户列表      
        </h2>
      </div>

          <div class="row-fluid">
            <div class="widget widget-padding span12">
              <div class="widget-header">
                <i class="icon-table"></i>
                <h5>Tables</h5>
                <div class="widget-buttons">
                  <a href="http://twitter.github.com/bootstrap/base-css.html#tables" data-title="Documentation" class="tip" target="_blank"><i class="icon-external-link"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
                </div>
              </div>  
              <div class="widget-body">
                <div class="row-fluid">
                <!--   <div class="span6"> -->
                    <table  id="users" class="table table-striped table-bordered dataTable
">
                      <tbody>
                       <tr>
                          <th>用户编号</th>
                          <th>头像</th>
                          <th>联系电话</th>
                          <th>邮箱</th>
                          <th>状态</th>
                          <th>创建日期</th> 
                          <th>操作</th>
                        </tr>
                    <?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                          <td><?php echo ($i); ?></td>
                          <td><img src="/recipe/Public/Admin/photo/<?php echo ($vo["photo"]); ?>" width="100"></td>
                          <td><?php echo ($vo["telephone"]); ?></td>
                          <td><?php echo ($vo["email"]); ?></td>
                          <td><?php if($vo["state"] == '0'): ?>正常<?php else: ?>已禁用<?php endif; ?></td>
                          <td><?php echo ($vo["createtime"]); ?></td>
                          <td><?php if($vo["state"] == '0'): ?><a href="/recipe/Admin/User/zt/id/<?php echo ($vo["id"]); ?>">暂停使用</a><?php else: ?><a href="/recipe/Admin/User/hf/id/<?php echo ($vo["id"]); ?>">恢复使用</a><?php endif; ?>|<a href="/recipe/Admin/User/edituser/id/<?php echo ($vo["id"]); ?>">密码重置</a>|<a href="/recipe/Admin/User/deluser/id/<?php echo ($vo["id"]); ?>">删除</a>|</td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                       
                      </tbody>
                    </table>
                  </div>

                </div> 
                <hr>


















 </body>
</html>